<?php

if (!defined("DS")) {
    define("DS", DIRECTORY_SEPARATOR);
}

if (!defined("UNDERSCORE_ROOT")) {
    define("UNDERSCORE_ROOT", dirname(__FILE__));
}

//Enviroment classes.
//The class loader.
require_once UNDERSCORE_ROOT . DS . 'underscore' . DS . 'libs' . DS . 'lang' . DS . 'Loader.php';
Loader::Config(UNDERSCORE_ROOT, DS);

Loader::using(array(
    //Core classes
    'underscore::core::*',
    'underscore::core::context::*',
    'underscore::core::util::*',
    //Some useful classes.
    'underscore::libs::lang::Enum',
    //Templating system
    'underscore::libs::smarty::Smarty.class',
));
?>
